PESetNthAlertMessageFormula

Use PESetNthAlertMessageFormula to set the message formula for the specified Report Alert associated with the print job.

C Syntax
BOOL CRPE_API PESetNthAlertMessageFormula (short printJob,
                                           short alertN,
                                           const char FAR *formula);
Parameters

printJob

Specifies the print job for which you want to set the Report Alert's message.formula.

alertN

Specifies the Report Alert for which you want to set the message.formula.

formula

Specifies a pointer to the string containing the message.formula for the Report Alert.

Returns
Remarks

The result of the formula must be a string. If PESetNthAlertMessageFormula is set it will override the value set for the Report Alerts default message.

VB Syntax
Declare Function PESetNthAlertMessageFormula Lib "crpe32.dll" (ByVal 
printJob%, ByVal alertN%, formula As String) As Integer
Delphi Syntax
function PESetNthAlertMessageFormula(
   printJob : Smallint;
   alertN : Smallint;
   const formula : PCHAR) : boolean stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com